<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-15">
	<TITLE></TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.4  (Linux)">
	<META NAME="CREATED" CONTENT="20050606;20415500">
	<META NAME="CHANGEDBY" CONTENT="Gerd Wagner">
	<META NAME="CHANGED" CONTENT="20050606;21013700">
</HEAD>
<BODY LANG="en-US" DIR="LTR">
<P><B>Graph 1.0</B> - Gerd Wagner</P>
<P>The Graph plugin allows to create charts of tables and foreign-key
relationships. 
</P>
<P><IMG SRC="graph.jpg" NAME="Graphic5" ALIGN=LEFT BORDER=0><BR CLEAR=LEFT><BR><BR>
</P>
<P>To create a graph select the tables in the Object tree and click
the 'Add to graph' item in the right mouse menu. Right mouse click
tables, constraints as well as the background to find out what
functions the Graph provides. To open a table a foreign key points to
just double click on the foreign key column. The plugin supports
browsing through the table structure.
Note: A Graph uses foreign keys to render dependency lines between fields in the tables.
So, a child column which is a member of a foreign key to a parent
primary key column in a different table will be shown on the graph
when both tables are added in such a way that the child column has a
line with an arrow pointing to the parent column.  So, if you want to
have the graph plugin show relationships visually, you must - for the
foreseeable future - define foreign keys using regular SQL in
SQuirreL.
</P>
<P>To distribute and print a graph to several sheets of paper click
the 'Zoom/Print' item in the backgrounds right mouse menu. The
control panel at the bottom of the Graph enables you to scale the
chart as well as the paper edges.</P>
<P><IMG SRC="zoomprint.jpg" NAME="Graphic6" ALIGN=LEFT BORDER=0><BR CLEAR=LEFT><BR><BR>
</P>
<P>Note: 
</P>
<UL>
	<LI><P>You can have several Graph tabs and you may free to name and
	save them.</P>
	<LI><P>The Graph plugin works best if you use the SQL Scripts plugin
	too. The SQL Scripts is also available at <A HREF="http://www.squirrelsql.org/">www.squirrelsql.org</A>.</P>
</UL>
<P><BR><BR>
</P>
</BODY>
</HTML>
